<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<html>
  <head>    
    <title>request对象的应用</title>
  </head>
  	
  <body bgcolor="pink">
  	<form action="result1.jsp" method="post">
  		<p>输入运算数、选择运算符号：</p>
  		<p><input type="text" name="num1" size="10">
  			<select name="opt">
  				<option value="+">+</option>
  				<option value="-">-</option>
  				<option value="*">*</option>
  				<option value="/">/</option>
  			</select>
  			<input type="text" name="num2" size="10">
  		</p>
  		<p><input type="submit" name="submit" size="提交"></p>
  	</form>
  </body>
</html>





